import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);
const store = new Vuex.Store({
    state: {
		userInfo:{name:"lvn"},
		bankPhone:'',//预留手机号
		bank:'',//银行卡号
		PassBank:'',//加密的银行卡号
		bankName:'',//银行名称
		bankIndex:0,//银行卡数量
		artist:false,//是否展示艺术馆
	},
    mutations: {
		get_user_bankPhone(state,data){
			state.bankPhone = data
		},
		get_user_bank(state,data){
			state.bank = data
		},
		get_user_bankName(state,data){
			state.bankName = data
		},
		get_user_PassBank(state,data){
			state.PassBank = data
		},
		get_user_bankIndex(state,data){
			state.bankIndex = data
		},
		get_artist_status(state,data){
			state.artist = data
		}
	},
    actions: {
		
	}
})
export default store;